package com.cx.pojo;

import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

@Data
@Document(collection = "bootComment")
public class Comment {

    private String comment_id;
    private String comment_blog_id;
    private Integer comment_user_id;
    private String comment_user_name;
    private String comment_user_img;
    private String comment_content;
    private String comment_create_time;

    public String getComment_id() {
        return comment_id;
    }

    public void setComment_id(String comment_id) {
        this.comment_id = comment_id;
    }

    public String getComment_blog_id() {
        return comment_blog_id;
    }

    public void setComment_blog_id(String comment_blog_id) {
        this.comment_blog_id = comment_blog_id;
    }

    public Integer getComment_user_id() {
        return comment_user_id;
    }

    public void setComment_user_id(Integer comment_user_id) {
        this.comment_user_id = comment_user_id;
    }

    public String getComment_user_name() {
        return comment_user_name;
    }

    public void setComment_user_name(String comment_user_name) {
        this.comment_user_name = comment_user_name;
    }

    public String getComment_user_img() {
        return comment_user_img;
    }

    public void setComment_user_img(String comment_user_img) {
        this.comment_user_img = comment_user_img;
    }

    public String getComment_content() {
        return comment_content;
    }

    public void setComment_content(String comment_content) {
        this.comment_content = comment_content;
    }

    public String getComment_create_time() {
        return comment_create_time;
    }

    public void setComment_create_time(String comment_create_time) {
        this.comment_create_time = comment_create_time;
    }

    @Override
    public String toString() {
        return "Comment{" +
                "comment_id='" + comment_id + '\'' +
                ", comment_blog_id='" + comment_blog_id + '\'' +
                ", comment_user_id='" + comment_user_id + '\'' +
                ", comment_user_name='" + comment_user_name + '\'' +
                ", comment_user_img='" + comment_user_img + '\'' +
                ", comment_content='" + comment_content + '\'' +
                ", comment_create_time='" + comment_create_time + '\'' +
                '}';
    }
}
